package com.wiz.weixin.mapper;

import org.apache.ibatis.annotations.Param;

import com.wiz.weixin.TO.AgentWxRelationTO;


public interface TencentMapper {
	//代理商绑定微信的数，用于判断是否绑定
	int countTencentWxRelationByAgentId(@Param("agentId")Integer agentId);
	//获得绑定关系
	AgentWxRelationTO selectAgentWxRelationByWxId(@Param("wxId")String wxId);
	//新增绑定关系
	int createTencentWxRelation(@Param("agentId")Integer agentId, @Param("wxId")String wxId);
}
